import com.troyworks.framework.logging.ILogger;
import com.troyworks.framework.logging.LogLevel;

/**
 * @author Troy Gardner
 */
class com.troyworks.framework.bootstrapper.BootTraceLogger implements ILogger {
	public static var className : String = "com.troyworks.framework.bootstrapper.BootTraceLogger";
		
	private static var instance : BootTraceLogger;
		
	/**
	 * @return singleton instance of BootTraceLogger
	 */
	public static function getInstance() : BootTraceLogger {
			if (instance == null)
				instance = new BootTraceLogger();
			return instance;
	}		
	private function BootTraceLogger() {
		trace("******************************************************");
		trace("******************************************************");
		trace("*******************BootTraceLogger***********************************");
		trace("******************************************************");
		trace("******************************************************");
		trace("******************************************************");
	}
	
	public function toString():String{
		return className;
	}

	public function log(sMessage : String) : Void {		
		trace(arguments.join(''));
	}
	public function logLevel(nLevel : LogLevel, sMessage : String) : Void {		
		trace(arguments.join(''));
	}

}